from django.test import TestCase
from django.test.client import Client

"""
Testira standings stranu
"""
class StandingsTestCase(TestCase):

    def setUp(self):
        pass

    def runTest(self):
        c = Client()
        c.login(username='kokan', password='123')
        
        response = c.get("/mdcs/standings/")
        self.failIf(response == None)
        self.failIf(response.context == None)
        self.failUnlessEqual(len(response.context), 2)